<?php

class Auth_Acl_Storage_Ingresdb extends Auth_Acl_Storage_StringBased {

	protected $_cacheIdentify = __CLASS__;

	protected function _getConnection() {
		// чет типа того
		require_once ('ConnManager.php');
		$conManager = new Kpl_Action_Helper_ConnManager();
		return $conManager->getConnection();
	}
	
	protected function _getGroups() {
		$groups = new Groups (array('db'=>$this->_getConnection()));
		return $groups->fetchAll();
	}
	
	protected function _getMenuItems() {
		$menu = new Menu (array('db'=>$this->_getConnection()));
		return $menu->fetchAll();
	}

	
}
